package com.admin.education.common.utils;

import org.springframework.context.ApplicationContext;

public class InjectUtil {
    private static ApplicationContext applicationContext;
    private InjectUtil(){}
    public static void setApplicationContext(ApplicationContext applicationContext){
        InjectUtil.applicationContext =applicationContext;
    }
    public  static ApplicationContext getApplicationContext(){
        return InjectUtil.applicationContext;
    }
}
